home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 June: Reference Library / Dev.CD Jun 99 RL Disk 1.toast / Technical Documentation / Macintosh Technotes and Q&As / technotes / tn / tn_1049.cw < prev    next >
Encoding:
Text File  |  1997-12-10  |  26.9 KB  |  252 lines  |  [TEXT/R*ch]

  1. ıBOBOª5¬dHZHZHZ‹
  2. ª4ÌÿÿHª8˛bB•
  3. ÿÿª8äÿ-ZÿÿÿFrederique Courard HaurixHHÚ(ÿáÿâùFG(üHHØ(d'`Δÿÿª~‹∫l    `/ÀU,ª5ܪ5•ª4ä,UL˙˚ÿñª≠à»*2 ª54! ÿÿÿÿÿÿÿÿ(cgDSETΔªª$!=ª5ª68ª6‘ª4x°`ª4è!Z’°`ª4X)Zì°`ª4˛æ     P"¨"©""ä&" "∞&¨"ï&    " & &"
  4. W"æ&û"r"»"T/g4Ä444Õ4˜4Ä:Ô?$?Ü
  5. àààP
  6. $a
  7. à•
  8. $äÓ
  9. -
  10. -&
  11. -d
  12. -≈
  13. -˙
  14. $"
  15. ,O
  16. -¶
  17. ,â
  18. -
  19. ,
  20. -∞Ó¨
  21. $ïÓ    
  22. $
  23. §
  24. ±
  25. $
  26. “
  27. ∏
  28. $ ø 
  29. $ Ó &
  30. $æÓû
  31. $G
  32. ,s
  33. -ô
  34. ,
  35. -Tàg6i
  36. 7
  37. 8«
  38. 7Ä6Æ
  39. 7Ü
  40. 8
  41. 76
  42. 7Q
  43. 8∏
  44. 76
  45. 7Õ6◊
  46. 7˜6˙
  47. 7¬
  48. 8≤
  49. 7Ä àÔ
  50. AFıª60ıœª8tDɪ5
  51. óª5`õª5´õ+ª6D ª5≥ı
  52.  
  53.  
  54. › 
  55. T E C H N O T E :
  56. Approaching the Millennium: 
  57. The Mac and the Year 2000
  58.  
  59. by Brian Bechtel
  60. devsupport@applelink.apple.com
  61. Apple Developer Technical Support (DTS)
  62.  
  63. There has been much concern recently about various operating systems and computers and their handling of the year 2000. Many operating systems and computers use two digits to represent and store the year, and this can cause problems in the year 2000. For example, a simple comparison would falsely claim that the year 2000 (i.e., 00) falls before the year 1999 (i.e., 99). 
  64. The Mac OS and Apple Macintosh computers do not have problems with the year 2000. The following Q & AÕs address this, and direct the reader to further sources of information related to this topic.
  65. How Will the Mac OS Handle the Year 2000?
  66. All Mac OS date and time utilities have correctly handled all issues related to the year 2000 since the introduction of the Macintosh. The origiœnal date and time utilities, introduced with the original Macintosh 128K in 1984, used a 32-bit low memory global value to store seconds, starting at 12:00:00 a.m., January 1, 1904. Since the Mac OS used a 32-bit value to store seconds, this means that the last date represented in this 32-bit value is 6:28:15 a.m. on February 6, 2040. The current date and time utilities, documented in Inside Macintosh: Operating System Utilities, use a 64-bit signed value. This covers dates from 30081 B.C. to 29940 A.D. For further reference, see Inside Macintosh: Operating System Utilities, Chapter 4, or its predecessor, Inside Macintosh Volume II. 
  67. Gregorian calendar support is included with all localized versions of the Mac OS. In addition, the Arabic version of the Mac OS supports both the Arabic astronomical lunar calendar and the Arabic civil lunar calendar. The Hebrew version of the Mac OS supports the Jewish calendar. The PersianÉ version of the Mac OS supports the Iranian national calendar.
  68. Will Macintosh Software Handle 2000?
  69. In general, yes. The only problems you may encounter are when you use your own date and time utility package, rather than using the Toolbox calls supplied by the Mac OS. If you are using your own date and time utilities, you should test carefully to ensure that you handle all of the subtle issues of date and time conversion.
  70. WhatÕs Special About the Year 2019?
  71. The Date & Time control panel constrains user entry to dates between January 1, 1920 and December 31, 2019. This feature was added for compatibility with the original Macintosh System 6 General control panel, which limited dates so there would be no ambiguity about a 2-digit year (which was all that was normally displayed on a US system). The Date & Time control panel uses the Script Manager function ToggleDate. ToggleDate was enhanced in 1989 to have an option that limited dates to the 1920-2019 rangóe so that it could be used by the General control panel and other control panels that wanted to have a date widget that operated in the same way. You can set a date beyond 2019, up to the year 2040, by using the Macintosh Toolbox call SetDateTime(). 
  72. Does February 29, 2000 Exist?
  73. Yes, there will be a February 29, 2000. The Gregorian calendar is a solar calendar that measures time from the year of the birth of Jesus Christ. It contains 11 months with fixed lengths of 30 or 31 days and a twelfth month of 28 days that is lengthened to 29 days every fourth year (called a leap year).
  74. The Gregorian calendar is a refinement of the Julian calendar, established in Roman times. The Julian calendar assumed a year of 365.25 days; the actual length of the solar year, however, is 365.2422 days, producing an error of one day every 128 years. In 1582, Pope Gregory XIII adjusted the error that had accumulated over the centuries by canceling the ten days between October 5 and October 15. He further ordained that yõears divisible by 100 would not be leap years unless they were also divisible by 400. (From this rule, you can see that 1800 and 1900 are not leap years, but 2000 is.) This adjusted the Gregorian calendar to 365.2425 days and reduced its error to one day in 3,323 years. Non-Catholic cultures adopted the Gregorian calendar over the succeeding centuries, calling Julian dates Old Style and Gregorian dates New Style. This change occurred in the United Kingdom and its colonies in 1751.
  75. For More Information
  76. For information on the Mac OS utilities for date and time manipulation, see Inside Macintosh: Operating System Utilities, chapter 4, the Date, Time and Measurement Utilities. For information about other calendar systems supported by the Mac OS, see Guide to Macintosh Software Localization, chapter 9, Localized Macintosh System Software and chapter 11, Calendars and Dates.
  77. There is a World Wide Web site devoted to the issues of the Year 2000, at <http://www.year2000.com> which contains much information+ on this subject. There is also a mailing list to discuss Year 2000 issues. Send an email to listmanager@hookup.net with the text SUBSCRIBE YEAR2000 in the body of the message (not in the subject).
  78. A good quick reference to the Gregorian calendar and its evolution may be found at <http://es.rice.edu/ES/humsoc/Galileo/Things/gregorian_calendar.html>
  79. Further References
  80. n    Apple Computer, Inc., Inside Macintosh: Operating System Utilities (Addison-Wesley, 1994).
  81. n    Apple Computer, Inc., Guide to Macintosh Software Localization (Addison-Wesley, 1992).
  82. n    G. V. Coyne, M. A. Hoskin, and O. Pedersen, eds., Gregorian Reform of the Calendar: Proceedings of the Vatican Conference to Commemorate its 400th Anniversary (Vatican City: Pontifical Academy of Sciences, Specolo Vaticano, 1983).
  83. n    Information Leaflet No. 48: Leap Years, Royal Greenwich Observatory, Madingley Road, Cambridge, CB3 0EZ, United Kingdom. Available at the URL <http://www.ast.cam.ac.uk/RGO/leaflets/leapyear/leapyear.html>
  84. n    Act of Parliament, ÒAn Act for Regulating the Commencement of the Year; and for Correcting the Calendar now in Use.Ó 24 Geo. 2. c. 23 (A.D. 1751. Anno vicesimo quarto GEORGII II. CAP. XXIII.)
  85. n    Pope Gregory XIII, Inter Gravissimus, 1582
  86. Acknowledgments
  87. Tom Maremaa, Doug MacMillan, Frank Rimalovski, Peter Edberg, and Bob Wambaugh. 
  88. ZÿÿN°DSET≠ÿÿ.Hÿÿÿÿÿÿª8¨°√ˆ`˘°ÿÿ6ÿÿ*ˆ`DSEThÿÿ.Hÿ
  89. ÿÿÿÿÿÿª5X``°ÿÿ√è°ÿÿp°ÿÿa√°ÿÿé°ÿÿq˘°ÿÿ6ÿÿ*ˆ`DSET≠ÿÿ.HˆÒñNÑÿÿÿÿÿÿª8Ȉ`'°ÿÿ´ÿÿ*ˆ`°'è°'è°'èDSETT•@•ª5Δª8pª4√ª6(°'ª5à' "    à y[ˇP[¥ΔWWl≤[¡‰
  90. ™ª6x™
  91.  
  92. Technote 1049    ///          Release 1.0       © 1996   Apple Computer, Inc.      ///              ///          Page  of  3FNTMCUTSDSUM1Frederique Courard HauriHDNISTYL<€ÿÿ@STYLª8¸ª8hª8lª4¬ª8¬ª6 ª6lª6$œÿÿ|
  93. ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  94. ÿÿÿÿ`
  95. ÿÿÿÿ
  96. ÿÿÿÿ
  97. ÿÿÿÿÿÿÿÿÿÿ    ÿÿÿÿ        ÿÿÿÿÿÿ*
  98. "    ÿÿ&ÿÿÿÿ
  99. $ÿÿ"ÿÿÿÿ
  100. &    ÿÿ'ÿÿÿÿ
  101. ,ÿÿ"ÿÿ
  102. -ÿÿ"ÿÿÿÿ/    ÿÿ(ÿÿÿÿ4    ÿÿ)ÿÿÿÿ6ÿÿ4ÿÿÿÿ
  103. 7ÿÿ4ÿÿÿÿ8ÿÿ4ÿÿÿÿ:    ÿÿ*ÿÿ
  104. ?    ÿÿ&ÿÿAÿÿ?ÿÿÿÿ
  105. ÿÿÿÿ ÿÿÿÿÿÿ        ÿÿÿÿ
  106. 
  107. ÿÿÿÿ  ÿÿÿÿÿÿ
  108.  ÿÿÿÿÿÿ
  109. 
  110. ÿÿÿÿÿÿ
  111. ÿÿ%!‹ÿÿÿÿÿÿ #0!!ÿÿÿÿ!%0!!ÿÿÿÿ"'0!!ÿÿÿÿ#*0!%ÿÿÿÿ$+0!%ÿÿÿÿ%.0!%    ÿÿÿÿ&00!%
  112. ÿÿÿÿ'30!% ÿÿÿÿ(50!% ÿÿÿÿ)90!#
  113. ÿÿÿÿ*;0!#ÿÿÿÿ+>0!'ÿÿÿÿ,@0!'ÿÿÿÿ%-B‹ÿÿÿÿÿÿ.C0BBÿÿ!/D0BBÿÿ"0E0BBÿÿÿÿ1F0BDÿÿ$2G0BDÿÿ%3H0BD    ÿÿ&4I0BD
  114. ÿÿ'5J0BD ÿÿ(6K0BD ÿÿÿÿ7L0BC$ÿÿÿÿ8M0BC%ÿÿÿÿ9N0BE&ÿÿ,:O0BEÿÿÿÿ%;P‹ÿÿÿÿÿÿ<Q0PP'ÿÿÿÿ=R0PP(ÿÿÿÿ>S0PP(ÿÿÿÿ?T0PR)ÿÿÿÿ@U0PR*ÿÿÿÿAV0PR*    ÿÿÿÿBW0PR*
  115. ÿÿÿÿCX0PR* ÿÿÿÿDY0PR* ÿÿÿÿEZ0PQ+ÿÿÿÿF[0PQ+ÿÿÿÿG\0PS)ÿÿÿÿH]0PS*ÿÿÿÿ%I^‹ÿÿÿÿÿÿJ_0^^,ÿÿÿÿK`0^^ÿÿÿÿLa0^^ÿÿÿÿMb0^`-    ÿÿÿÿNc0^`ÿÿÿÿOd0^`     ÿÿÿÿPe0^`!    ÿÿÿÿQf0^`"    ÿÿÿÿRg0^`#    ÿÿÿÿSh0^_.$
  116. ÿÿÿÿTi0^_.%
  117. ÿÿÿÿUj0^a&    ÿÿÿÿVk0^a'ÿÿÿÿ%Wl‹ÿÿÿÿ(ÿÿXm0ll/)ÿÿÿÿYn0ll*ÿÿÿÿZo0ll+ ÿÿÿÿ[p0ln,ÿÿÿÿ\q0ln-ÿÿÿÿ]r0ln.ÿÿÿÿ^s0ln/ÿÿÿÿ_t0ln0ÿÿÿÿ`u0ln1ÿÿÿÿav0lm06
  118. ÿÿÿÿbw0lm07
  119. ÿÿÿÿcx0lo&4
  120. ÿÿÿÿdy0lo5
  121. ÿÿÿÿez‹ÿÿÿÿ(ÿÿf{0zz) ÿÿYg|0zz*ÿÿÿÿh}0zz2ÿÿÿÿi~0z|,ÿÿÿÿj0z|3ÿÿÿÿk•0z|8ÿÿÿÿl™0z|9ÿÿÿÿm≠0z|:ÿÿÿÿn∞0z{16
  122. ÿÿÿÿo≥0z}<ÿÿÿÿp∑‹ÿÿÿÿ
  123. ;ÿÿq∫0∑∑2=ÿÿÿÿrΩ0∑∑
  124. >ÿÿÿÿs√0∑Ω
  125.  ÿÿÿÿt≈0∑Ω
  126. !ÿÿÿÿu…0∑Ω
  127. "ÿÿÿÿv—0∑Ω
  128. #ÿÿÿÿw‘0∑∫3AÿÿÿÿxŸ0∑∫3Bÿÿÿÿy⁄Øÿÿÿÿ
  129.     ÿÿz∂8⁄⁄
  130.  ÿÿÿÿ{Δ8⁄⁄
  131.  ÿÿÿÿ|Œ8⁄⁄
  132. ÿÿÿÿ}‚8⁄⁄
  133. ÿÿÿÿ~„8⁄⁄
  134. ÿÿÿÿ‰8⁄⁄
  135. ÿÿÿÿ•8⁄⁄
  136. ÿÿÿÿ™ˆ8⁄⁄
  137. ÿÿÿÿ≠˜8⁄⁄
  138. ÿÿÿÿ∞˘8⁄⁄
  139. ÿÿÿÿ≥˙8⁄⁄
  140. ÿÿÿÿ∑˚8⁄⁄
  141. ÿÿÿÿ∫˝Øÿÿÿÿ4ÿÿΩ˛8˝˝5ÿÿÿÿ√ˇ8˝˝6ÿÿÿÿ≈ı8˝˝7+ÿÿÿÿ…ƒ8˝˝8,ÿÿÿÿ— 8˝˝8-ÿÿÿÿ‘¡8˝˝8.ÿÿÿÿŸ¢8˝˝8/ÿÿÿÿ⁄£8˝˝80ÿÿÿÿ∂€8˝˝81ÿÿÿÿΔ¥8˝˝82ÿÿÿÿ ŒœØÿÿÿÿ
  142. 3ÿÿ‚§8œœ
  143. 4ÿÿÿÿ„¨8œœ
  144. 5ÿÿÿÿ‰©8œœ
  145. 6ÿÿÿÿª8œœ
  146. 7ÿÿÿÿˆ«8œœ
  147. 8ÿÿÿÿ    ˜     ÿÿÿÿÿÿ˘
  148. ÿÿ ÿÿÿÿ˙ÿÿ ÿÿÿÿ˚ÿÿ ÿÿÿÿ˝ÿÿ ÿÿÿÿ˛ÿÿ"ÿÿÿÿˇ&ÿÿÿÿı
  149. /ÿÿÿÿƒ: ÿÿÿÿ     ÿÿ!
  150. ÿÿ ¡ÿÿ!
  151. ÿÿÿÿ¢ÿÿ"
  152. ÿÿÿÿ£ "#ÿÿ‰ˆÿÿHASH‘
  153. $Ú àùô◊‘WôؑeÑÛÔ-ÑÛÔ;à"ÔÎá´fiãã%8◊pãµÕáIêäëå&
  154. 
  155. ƒ ı&£    &
  156.         øˇ¯,° ˛°,3
  157. 2˘˚˝!˙, x2 ˜,‚Q„v‰˝Àˆ,zQ{v|˝}À~å. 
  158. •/™T≠y∞ı≥Ã∑,8ΩQI√v4≈˝5…À5—å5‘    
  159. 5Ÿ    /5⁄    T5∂    y5Δ/23456:0+OSPTC)U*ø7 8    0A    1B    2C    3DCnJaKb    (=
  160. G9    51y·Gy˝EÙ?FÙ    HHù#ù0ùB?ù    $>ù    3@‡JJ‡> ‡ EXÿ>f<ï.r-O.P/Q0RFU`M/]0^1_2`0dJc&N.V
  161. "K
  162. #L
  163. $g
  164. %huvst*w…”xûHo‡/\‡9l‡:m‡1i‡7j‡8k‡D[fl0q'Z & 0&  ZÑÇ [Ñì \ÑÅ!GÑÅA& ¡A
  165. 7¢L: Qf¸eg∫h“çmh’ÑÚj–◊alq”ºr§élr”◊at“◊ÅŒz«áoz¶ÕÄ}Bod}©ÓÖy…9ÿÿ
  166. CHARª5°–ÿÿÿÿ ÿÿ ÿÿÿú    ÿÿÿfl     ÿÿ ÿÿÿû
  167. ÿÿ•ÿÿ ÿóàÿÿÿúÿÿ
  168. ÿòÓ'ÿØ
  169. ÿÿÿÿÿÿÿ÷ àÿÿÿÿ
  170. ÿÿ"
  171. (
  172. '
  173. ÿÿ'ÿÿ
  174. ÿÿ%
  175. ÿÿÿÿÿÿ
  176. ÿÿ     ÿÿÿéÿÿ"ÿ† ÿÿ ÿÿàÿÿ ÿÿàÿÿ ÿ÷àÿÿ ÿ÷
  177. à    ÿÿÓÿÿàÿÿÿÿ
  178.  ÿÿ àÿÿ ÿÿÿÿ"    àÿÿ
  179.     ÿÿ
  180.     ÿÿ
  181.     ÿÿ.    ÿÿ
  182.     ÿÿ
  183. (
  184. 
  185.     '/    ÿÿ*
  186. 2
  187. ,/
  188. ÿÿ        /        
  189. ÿÿ2ÿÿ&    ÿÿ&ÿÿ  ÿÿ&
  190. 4&    ô&ÿÿHASH
  191. 3071845E6≥"13:+;.D-$)%*)    *    )0    *&     
  192. !à  à
  193. è8"#
  194. 
  195.  Óà
  196. ààà 2 RC?
  197. CELLª8|ÿÿÿÿÿÿ'ÿÿÿ"ÿÿÿÿü
  198. ÿÿÿÿø
  199. ÿÿøÿÿÿÿÿÿÿÿÿÿ    ÿÿü
  200. ÿÿü
  201. ÿÿø
  202. ÿÿø
  203. ÿÿü
  204. ÿÿÿÿü
  205. ÿÿü
  206. ÿÿøÿÿøøÿÿÿÿÿÿÿÿx≥
  207. ÿÿØ$ ÿÿx• ÿÿØ 
  208. ÿÿÿÿÿÿÿÿÿÿ    ÿÿø
  209. ÿÿø ÿÿ ÿÿ
  210. ÿÿÿÿøÿÿÿÿûÿÿøÿÿøÿÿÿÿÿÿÿÿ    ÿÿÿÿøÿÿÿ ÿÿÿ
  211. ÿÿü
  212. ÿÿü ÿÿøÿÿøÿÿø    ÿÿÿÿø ÿÿø
  213. ÿÿ@ÿÿÿÿø
  214. ÿÿÿÿÿÿø ÿÿ(Ó
  215. ÿÿ√s Δ@ÿÿHASHÿ    
  216.       
  217. $ %
  218. 67(xŸx∂Ø1Ø3øøø    ø
  219. ø
  220. )ü ü >     
  221. ! " #&'
  222. ./01
  223. 45;*2*èA…‘Bú=ú
  224. -ú,ú<ú3ú8ú9ú:‡    + Æÿÿ
  225. GRPHª5€ÿÿÿÿÿ'ÿÿÿBÿÿÎÿÿ
  226. ÿÿÎÿÿ
  227. ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿ|ÿÿHASH
  228.     Ò
  229. Î   "9
  230. l
  231. RULRª6p=ÿÿÿÿÿÿÿÿ‡@ÿÿ[ÿÿ $ÿÿiÿÂB ÿÿ $ÿÿ     $ÿÿÿÂB ÿÿÿÿÿ@ÿÿ$ÿÿHÿÿÿÿÿªB<ÿÿlÿÿΔÿÿ´ÿÿØÿÿÿbBÿÿüÿÿ ÿÿÿÿÿ˚ÿÿDÿÿ    hÿÿÿÿÿzBÿÿ
  232. ‘ÿÿ °ÿÿÿbÿôNN.H``Ä QH`Ææ`Ææ`Ä,Wß~`Ææ`ÄDWóø`ÆæQΩ‘`ÄDQM¬`ÄLQHf`Ä\QH`Ææ`ÿÿ ÿÿÿÿÿjBÿÿ$ÿÿH!ÿÿÿÿiÿ:B "ÿÿÿÿáÿJb•.H``Ä QH`Ææ`Ææ`Ä,Wß~`Ææ`ÄDWóø`ÆæQΩ‘`ÄDQM¬`ÄLQHf`Ä\QH`Ææ`#ÿÿÿÿaÿJ$ÿÿÿÿiÿªB<%ÿÿÿÿiÿÂBdÿÿÿÿÿÿÿÂBdÿÿiÿbBÿÿaÿ˚ÿÿiÿzBÿÿíÿbÿôNN.H``Ä QH`Ææ`Ææ`Ä,Wß~`Ææ`ÄDWóø`ÆæQΩ‘`ÄDQM¬`ÄLQHf`Ä\QH`Ææ`ÿÿiÿjBÿÿlÿÿΔÿÿ´ÿÿØÿÿüÿÿ ÿÿDÿÿ    hÿÿÿÿ$ÿÿHÿÿlÿÿΔÿÿ´*/ÿÿHASHÿœ&oÿ3,40Q5v6˝7À80    ‡
  233. ', Q v˝Àå
  234. /TyıÃ,Qv+˝,À-å.    
  235. /    /0    T1    y2
  236. 0*'(Q–º >–º)@ÿ
  237. @‡h¬LKUP    ˜˘˙˚˝˛ˇıƒ£  ¡¢(
  238.   ! ")1#$
  239. %&2<'()*=ÿÿ+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~•™≠∞≥∑∫Ω√≈…—‘Ÿ⁄∂ΔŒ‚„‰ˆ‰ÿÿ$NAMEDefault
  240. Default SSHeaderBodyFooterFootnoteFootnote Index
  241. HeadingH2.H2 Code.CV Heading1.H1Italic HeadingH3.H3Bullet    ChecklistNumber!ClassicB Blue Gray 1P Blue Gray 2^Colorfull
  242. 3D Table 1z
  243. 3D Table 2∑
  244. Accounting⁄Harvard˝LegalœDiamond¨ÿÿDFNTM    HelveticaGeneva:H
  245. Letter GothicPalatinoTimes
  246. 
  247. Zapf DingbatsETBL@FNTM&ACUTS&IDSUM&QHDNI&…STYL&‰ETBLk:ÿfl‡üûúùø›ñòóôõö÷